20230322
[shlib.git] / testing / 2.scripttest_testing.Testing for scripttest.unit / 6.scripttest_test_range.Testsuite about test range.dir / 3.scripttest_param_L.sh
blobe8a9a09eae12e11e56dd42df4765f6cab8dfc2ff
1 #!/bin/bash
3 ############################################################
4 # Copyright (C) 2022- Free Software Foundation, Inc.
5 # This configure script is free software; the Free Software
6 # Foundation gives unlimited permission to copy, distribute
7 # and modify it.
9 . shlibinc
10 include stdio.shlib
11 include dbgout.shlib
14 init_dbglogout 2 testing 20000
16 dbgout "$0\n"
18 dbgout_cmd echo XXX
20 cd scripts
22 dbgout "================================\n"
23 dbgout "clean testing temp dir.\n"
24 dbgout "================================\n"
25 scripttest -c
28 # 测试程序的version信息输出
30 dbgout "================================\n"
31 dbgout "test 5 items, and stopped at one item.\n"
32 dbgout "================================\n"
33 scripttest -n 2 -q -r -u
34 scripttest -n 5 -q
36 # 测试failed,-L参数从failed项开始测试
37 dbgout "================================\n"
38 dbgout "use -L to test from the last failed item.\n"
39 dbgout "================================\n"
40 scripttest -L -q
42 dbgout "================================\n"